﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcMusicStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h3>Browse Genres </h3>
    <p>Select from <%: Model.NumberOfGenres %> genres</p>
    <ul>
        <% foreach (var g in Model.Genres) { %>
           <li><%: Html.ActionLink(g, "Browse", new { genre = g }, null) %></li>
        <% } %>
    </ul>
</asp:Content>
